#pragma once

#include "Usage.h"


namespace uml {

Usage::Usage(const QString& umlType)
    : Dependency(umlType) {}

void Usage::fromJson(const QJsonObject& json, QStringList& errorList) {
    if (json.isEmpty()) {
        return;
    }

    Dependency::fromJson(json, errorList);
}

void Usage::toJson(QJsonObject& json) {
    Dependency::toJson(json);
}

} // namespace uml
